package td;

import ui.FieldElementView;
import ui.Viewable;

/*
 * Abstract parent class of all FieldElements. Stores the Field to which they belong.
 * */
public abstract class FieldElement {
	protected Field position;
	public Viewable viewable;
	
	public FieldElement(){
		
	}
	
	public FieldElement(Field position) {
		this.position = position;
	}
	
	public Field getPosition(){
		return this.position;
	}
	
	public void setPosition(Field field){
		this.position = field;
	}
}
